package io.github.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
@TableName("router")
public class SysCallControlEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 来源ip
     */
    @TableField
    private String ip;

    /**
     * 主叫号码匹配
     */
    @TableField
    private String telFrom;

    /**
     * 被叫号码匹配
     */
    @TableField
    private String telTo;

    /**
     * 网关名
     */
    @TableField
    private String gateway;

    /**
     * 变换后主叫号码
     */
    @TableField
    private String transferFrom;

    /**
     * 变换后被叫号码
     */
    @TableField
    private String transferTo;

    /**
     * 备注
     */
    @TableField
    private String remark;

    @TableField
    private String gatewayFrom;

    @TableField
    private String fromName;

    @TableField
    private String toName;

    @TableField
    private String gatewayId;

    @TableField
    private String gatewayFromId;


}
